<?php
include("../inc/db_connect.php");
include("../inc/functions.php");
$nac_s = "UPDATE z SET poradie=".$_POST['poradie']." WHERE id='".$_POST['userId']."'";
$nac_q = MySQL_Query ($nac_s);
echo 1;
?>
